Add directive "DATATYPE", which can be WAYPOINT, ROUTE or TRACK, to xcsv format.
authoroliskoli <oliskoli>
Sun, 28 Jan 2007 20:49:30 +0000 (20:49 +0000)
committeroliskoli <oliskoli>
Sun, 28 Jan 2007 20:49:30 +0000 (20:49 +0000)
xmldoc/chapters/styles.xml

index c4019f9a60cd6977e879b49580dea7c11abe3daa..352e6e990e5a927e51df0849f87dff6589242e05 100644 (file)
@@ -207,7 +207,7 @@ this file.
 Describes the character set used by this format.  The value given
 must be one listed by 'gpsbabel -l'.    example:
 </para>
-<screen format="linespecific">   ENCODING             UTF-8    # Use UTF-8 for input and output.
+<screen format="linespecific">   ENCODING          UTF-8       # Use UTF-8 for input and output.
 </screen>
 </section>
 <section id="style_global_datum">
@@ -219,6 +219,18 @@ option are listed in <xref linkend="Datums" />.
 <screen format="linespecific">   DATUM             European 1950
 </screen>
 </section>
+<section id="style_global_datatype">
+<title>DATATYPE</title>
+<para>
+Specifies the kind of data we have to read or write.
+</para>
+<para>
+By default all data are seen as waypoint data. With DATATYPE you are now able to bind
+a specific type to this format. Possible values are WAYPOINT, ROUTE or TRACK.
+</para>
+<screen format="linespecific">   DATATYPE          ROUTE # route-only format
+</screen>
+</section>
 </section> <!-- global -->
 
 <section id="style_behavior">